package com.jk.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 公共页面跳转
 * @author cuip
 * Created by cuip on 2017/6/22.
 */
@Controller
public class PageController {

    @RequestMapping(value = "/{prefix}", method = RequestMethod.GET)
    public String toPage(@PathVariable("prefix") String prefix){
        return prefix;
    }
}
